package com.unswift.window.extend;

import javax.swing.JPanel;

@SuppressWarnings("serial")
public class TabPanel extends JPanel{
	
	public final static String TYPE_OBJECT="object";
	public final static String TYPE_SQL_SEARCH="sqlSearch";
	public final static String TYPE_TABLE_DATA="tableData";
	public final static String TYPE_VIEW_DATA="viewData";
	public final static String TYPE_SYSTEM_LOGGER="systemLogger";
	public final static String TYPE_OPERATOR_LOGGER="operatorLogger";
	public final static String TYPE_CREATE_TABLE="createTable";
	public final static String TYPE_OPEN_TABLE="openTable";
	
	private String type;
	private Object[] mainComps;

	public TabPanel(String type, Object...mainComps) {
		super();
		this.type=type;
		this.mainComps=mainComps;
	}
	
	public String getType() {
		return type;
	}
	
	public Object[] getMainComps() {
		return mainComps;
	}
	public void setMainComps(Object[] mainComps) {
		this.mainComps = mainComps;
	}
}
